package com.easylinkin.linkappapi.ruleengine.service;

import java.util.Map;
import java.util.Set;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 数据清洗 服务类
 * </p>
 *
 * @author TongJie
 * @since 2020-08-24
 */
public interface DataFlushService {

    @Transactional(rollbackFor = Exception.class)
    Map<String, Object> flushDeviceUnitDataDifferentFromTenantRefDeviceUnitGlobal(Set<String> actualAddedTenantRefDeviceUnitIds);

    Map<String, Object> clearIntelligentExpressionSortAndLogicDataGlobal();
}
